package com.bjsxt.match;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "spring.match")
public class MatchEngineProperties {
    /**
     * 交易对的信息
     */
    private Map<String,CoinScale> symbols;

    @Data
    public static  class  CoinScale{
        private int coinScale;
        private int baseCoinScale;
    }

}





































